home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
e
/
misc.txt
/
000077_gquiring@gmail.com_Wed Feb 21 12:49:37 2007.msg
< prev
next >
Wrap
Internet Message Format
|
2018-01-01
|
7KB
Path: reader2.panix.com!panix!news.maxwell.syr.edu!postnews.google.com!j27g2000cwj.googlegroups.com!not-for-mail
From: "Gary Quiring" <gquiring@gmail.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: SSL Solaris 9 compile errors
Date: 21 Feb 2007 06:08:48 -0800
Organization: http://groups.google.com
Lines: 120
Message-ID: <1172066927.099583.146980@j27g2000cwj.googlegroups.com>
References: <1171461754.452734.293090@a75g2000cwd.googlegroups.com>
<slrnet6bnr.t17.fdc@panix1.panix.com>
<1171474573.115000.277200@v45g2000cwv.googlegroups.com>
<slrnet95nd.1b6.fdc@panix2.panix.com>
<1171585254.113397.40400@v33g2000cwv.googlegroups.com>
<slrnetc6ch.8ae.fdc@panix1.panix.com>
NNTP-Posting-Host: 65.207.116.34
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1172066942 22682 127.0.0.1 (21 Feb 2007 14:09:02 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 21 Feb 2007 14:09:02 +0000 (UTC)
In-Reply-To: <slrnetc6ch.8ae.fdc@panix1.panix.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Avant Browser; Avant Browser; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: j27g2000cwj.googlegroups.com; posting-host=65.207.116.34;
posting-account=FQhNKw0AAABpZoI-99pbw0OCE1cm_48O
Xref: panix comp.protocols.kermit.misc:15648
On Feb 16, 3:52 pm, Frank da Cruz <f...@panix.com> wrote:
> On 2007-02-16, Gary Quiring <gquir...@gmail.com> wrote:
> : On Feb 15, 12:22 pm, Frank da Cruz <f...@panix.com> wrote:
> :> On 2007-02-14, Gary Quiring <gquir...@gmail.com> wrote:
> :> : On Feb 14, 10:47 am, Frank da Cruz <f...@panix.com> wrote:
> :> :> On 2007-02-14, Gary Quiring <gquir...@gmail.com> wrote:
> :> :> : I am trying to compile kermit 8.0.211 with Solaris 9 (Sparc). My
> :> :> : openssl ver is 0.9.8d
> :> ....
> :> :
> :> I have Solaris 9 here, with OpenSSL 0.9.8d, and "It Works For Me" (TM).
> :>
> :> To build C-Kermit with OpenSSL, you need to use one of the appropriate
> :> makefile targets (which you did), plus:
> :>
> :> . If the OpenSSL version is 0.9.7 or greater (a point where the API
> :> changed), you have to add -DOPENSSL_097 to CFLAGS (which can be
> :> done as shown above);
> :>
> :> . If the OpenSSL header files are not in /usr/local/ssl/include, you
> :> have to change or override the definitions of "prefix" or "sslroot"
> :> or SSLINCL in the makefile.
> :>
> :> . If the OpenSSL libraries are not in /usr/local/ssl/lib, you
> :> have to change or override the definitions of "prefix" or "sslroot"
> :> or SSLLIB in the makefile.
> :>
> :> At Columbia, we have to do all these things, because around here (or maybe
> :> in Solaris in general) "/usr/local" is "deprecated": Here is the procedure:
> :>
> :> export SSLINC=-I/opt/openssl-0.9.8d/include
> :> export SSLLIB=-L/opt/openssl-0.9.8d/lib
> :> export "KFLAGS=-DOPENSSL_097 -DCK_FORWARD_X -D_FILE_OFFSET_BITS=64"
> :> make -e solaris9g+openssl+shadow+pam+zlib
> :>
> :> - Frank
> :
> : Still no luck. My SSL location is /usr/local/ssl. I set the
> : following:
> :
> : export SSLINC="-l/usr/local/ssl/include"
> : export SSLLIB="-L/usr/local/ssl/lib"
> :
> Well, this should be unnecessary because it's the default.
>
> : export KFLAGS="-DOPENSSL_097 -DCK_FORWARD_X -D_FILE_OFFSET_BITS=64"
> :
> : Why is ck_ssl.h hardcoded for openssl directory? I made a link for
> : openssl -> ssl in /usr/local but it still didn't work.
> :
> See below. Not to get off on a tangent, but after decades already of dealing
> with the headaches of dealing with hardwired Unix (or DOS, or Windows, for
> that matter) directory names that are constantly changing makes me ever more
> nostalgic for the the "logical name" concept that was so effective in TOPS-10,
> TOPS-20, and to this day in VMS.
>
> : gcc -g -O -Usun -DSVR4 -DSOLARIS -DSTERMIOX (etc etc...)
> : ckcmai.c
> : In file included from ckcmai.c:607:
> : ck_ssl.h:35:26: openssl/comp.h: No such file or directory
> : ck_ssl.h:42:25: openssl/des.h: No such file or directory
> : ck_ssl.h:43:25: openssl/ssl.h: No such file or directory
> : (etc etc)
> :
>
> Let's see. You've told the compiler to look for include files in
> /usr/local/ssl/include. That directory should contain an openssl directory,
> which, in turn, contains all the .h files. If so, the build should work for
> you if you just do it like this (since your ssl tree is already in the
> default location):
>
> make KFLAGS=-DOPENSSL_097 solaris9g+openssl+shadow+pam+zlib
>
> - Frank
Same error:
make KFLAGS=-DOPENSSL_097 solaris9g+openssl+shadow+pam+zlib
make "MAKE=make" solaris2xg+openssl+zlib+pam+shadow \
KTARGET=${KTARGET:-solaris9g+openssl+shadow+pam+zlib} \
"KFLAGS=-DSOLARIS9 -DHDBUUCP -DDIRENT -DZLIB -DCK_PAM -DCK_SHADOW \
-DLIBDES -DOPENSSL_097" "LIBS= -lpam -ldes425 -lz "
make[1]: Entering directory `/u/local/src/kerm'
Making C-Kermit "8.0.211" for Solaris 2.x with gcc, OpenSSL...
Please read the comments that accompany the solaris2xg target.
make xermit KTARGET=${KTARGET:-solaris2xg+openssl+zlib+pam+shadow}
CC=gcc CC2=gc
c \
"CFLAGS = -g -O -Usun -DSVR4 -DSOLARIS -DSTERMIOX -DSELECT -DFNFLOAT \
-DCK_CURSES -DCK_NEWTERM -DDIRENT -DHDBUUCP -DTCPSOCKET \
-DCK_AUTHENTICATION -DCK_SSL -DCK_PAM -DCK_SHADOW -DZLIB \
-DBIGBUFOK -I/usr/local/ssl/include -DSOLARIS9 -DHDBUUCP -DDIRENT -
DZLIB -DCK_PA
M -DCK_SHADOW -DLIBDES -DOPENSSL_097" \
"LIBS= -L/usr/local/ssl/lib -ltermlib \
-lsocket -lnsl -lm -lresolv -lssl -lcrypto -lpam -lz"
make[2]: Entering directory `/u/local/src/kerm'
gcc -g -O -Usun -DSVR4 -DSOLARIS -DSTERMIOX -DSELECT -DFNFLOAT -
DCK_CURSES -DCK
_NEWTERM -DDIRENT -DHDBUUCP -DTCPSOCKET -DCK_AUTHENTICATION -DCK_SSL -
DCK_PAM -
DCK_SHADOW -DZLIB -DBIGBUFOK -I/usr/local/ssl/include -DSOLARIS9 -
DHDBUUCP -DD
IRENT -DZLIB -DCK_PAM -DCK_SHADOW -DLIBDES -DOPENSSL_097 -DKTARGET=
\"solaris9g+
openssl+shadow+pam+zlib\" -c ckcmai.c
In file included from /usr/local/ssl/include/openssl/x509.h:96,
from /usr/local/ssl/include/openssl/ssl.h:183,
from ck_ssl.h:43,
from ckcmai.c:607:
/usr/local/ssl/include/openssl/rsa.h:335: error: parse error before
numeric constant
/usr/local/ssl/include/openssl/rsa.h:336: error: parse error before
numeric constant
make[2]: *** [ckcmai.o] Error 1
make[2]: Leaving directory `/u/local/src/kerm'
make[1]: *** [solaris2xg+openssl+zlib+pam+shadow] Error 2
make[1]: Leaving directory `/u/local/src/kerm'
make: *** [solaris9g+openssl+shadow+pam+zlib] Error 2